package com.zdw.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zdw.common.parent.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * <p>
 * 客户
 * </p>
 *
 * @author 卓德文
 * @since 2023-04-05
 */
@Data
@TableName("customer")
@ApiModel(value = "CustomerEntity对象", description = "客户对象")
public class CustomerEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer state;

    private String name;


}
